package com.lanou.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 姚云鹏
 * Create at: 2018/6/5 17:46
 */
@Controller
public class Test2Controller {
    @RequestMapping("/test1")
    public String test1(){
        System.out.println("test1...........................");
        // 返回逻辑视图index，获得物理视图/index.jsp
        return "index";
    }

    @RequestMapping("test2")
    public String test2(){
        System.out.println("test2...........................");
        // 返回逻辑视图index，获得物理视图/index.jsp
        return "index";
    }
}
